project(rtmpose_onnxruntime)

#windows系统动态库生成lib文件命令
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

#生成动态库
add_library(${PROJECT_NAME} SHARED rtmpose_onnxruntime.cpp)

# 包含头文件
target_include_directories(${PROJECT_NAME} PUBLIC ${RTMDetonnxruntime_Dir})


# 连接动态库
target_link_libraries(${PROJECT_NAME} PUBLIC rtmdet_onnxruntime)